@charset "utf-8";
@import "config";
@import "rem-calc";
// @import "animation/_scale-bigger";
// @import "animation/_scale-bigger-fadein";
// @import "animation/_rotate360";
// @import "animation/_slide-up-out";
// @import "animation/_fadein";
// @import "animation/_fadein06";
// @import "animation/_fadeout";
// @import "animation/_slideup";
// @import "animation/_slidedown";
// @import "animation/_slide-in-left";
// @import "animation/_slide-out-right";
// @import "animation/_fadein-out-half";

.preimg{
  display: none;
  img{
    display: none;
  }
}

// ===== BEGIN: added by ourself ==== //
*,:after,:before {
    box-sizing: inherit;
    -webkit-tap-highlight-color: transparent;
    tap-highlight-color: transparent;
}

html {
    font-family: "Helvetica Neue",Helvetica,"Hiragino Sans GB","Microsoft YaHei",Arial,sans-serif;
    text-size-adjust: 100%; /* 2 */
    box-sizing: border-box;
    height: 100%;
    user-select:none;
}

body {
    height: 100%;
    overflow: hidden;
    margin: 0 auto;
    font-size: $rem-base;
    background-color: #fff;
}

ul,p,h1,h2,h3,h4,h5,h6,dd {margin: 0}
ul{list-style:none;padding:0}
i,dfn,em{font-style: normal}
b{font-weight: normal}

.contain {
  position: absolute;
  top: 0;
  left: 0px;
  right: 0px;
  bottom: 0px;
  margin: auto;
}

.step1 {
  display: table-cell;
  > {
    .bg {
      background: url('#{$imgsrc}01/01_bg.jpg') no-repeat;
      width: 100%;
      position: absolute;
      top: 50%;
      left: 0;
      right: 0;
      /* bottom: 0; */
      background-size: 100% 100%;
      background-position: center center;
      z-index: -1;
      height: 38rem;
      margin-top: -70%;
    }
    .head {
      background: url('#{$imgsrc}01/01_1.png') no-repeat;
      width: 100%;
      height: 8rem;
      background-size: contain;
      background-position: center center;
      position: absolute;
      top: 0;
    }
    .bg > .person {
      background: url('#{$imgsrc}01/01_4.png') no-repeat;
      background-size: contain;
      position: relative;
      background-position: center center;
      height: 100%;
      width: 21rem;
      margin: -2rem auto;
      transform: scale(.8);
    }
    .footer {
      position: absolute;
      bottom: 2.5rem;
      width: 100%;
      opacity: 0;
      > .footerTxt {
        background: url('#{$imgsrc}01/01_2.png') no-repeat;
        background-size: contain;
        background-position: center center;
        height: 6rem;
        width: 100%;
        margin-bottom: 1rem;
      }
    }
  }
  .footerBtn {
    background: url('#{$imgsrc}01/01_3.png') no-repeat;
    background-size: contain;
    background-position: center center;
    height: 5rem;
    width: 100%;
    display: block;
  }
}

.enterIn {
  -webkit-animation-name: moveIn;
  -webkit-animation-duration: .3s;
  -webkit-animation-delay: .8s;
  -webkit-animation-iteration-count: 1;
  -webkit-animation-direction: normal;
  -webkit-animation-timing-function: ease;
  -webkit-animation-fill-mode: both;
}

.enterScale {
  -webkit-animation-name: scale;
  -webkit-animation-duration: .3s;
  -webkit-animation-delay: .8s;
  -webkit-animation-iteration-count: 1;
  -webkit-animation-direction: normal;
  -webkit-animation-timing-function: ease;
  -webkit-animation-fill-mode: both;
}

.enterScale1 {
  -webkit-animation-name: scale;
  -webkit-animation-duration: .3s;
  -webkit-animation-delay: .6s;
  -webkit-animation-iteration-count: 1;
  -webkit-animation-direction: normal;
  -webkit-animation-timing-function: ease;
  -webkit-animation-fill-mode: both;
}

@-webkit-keyframes moveIn {
  0% {
    -webkit-transform: translateY(-100%);
  }
  100% {
    -webkit-transform: translateY(10%);
  }
}


@-webkit-keyframes scale {
  0% {
    -webkit-transform: scale(0);
    opacity: 0;
  }

  100% {
    -webkit-transform: scale(1);
    opacity: 1;
  }
}


.wiggle {
  -webkit-animation-name: wiggle;
  -webkit-animation-duration: 0.3s;
  -webkit-animation-iteration-count: infinite;
  -webkit-animation-direction: normal;
  -webkit-animation-timing-function: linear;
}

@-webkit-keyframes wiggle {
  0% {
    -webkit-transform: rotate(0deg);
  }

  25% {
    -webkit-transform: rotate(-3deg);
  }

  50% {
    -webkit-transform: rotate(0deg);
  }

  75% {
    -webkit-transform: rotate(3deg);
  }

  100% {
    -webkit-transform: rotate(0deg);
  }
}


.cryEye {
  background-image: url('#{$imgsrc}01/01_5.png');
  background-size: 100% auto;
  background-position: center 0;
  background-repeat: no-repeat;
  height: rem-calc(146px);
  width: rem-calc(161px);
  overflow: hidden;
  display: block;
  position: relative;
  top: 13.8rem;
  left: 3.2rem;
  -webkit-transform: scale(0.9);
}

.cryAnimation {
  -webkit-animation-name: cry;
  -webkit-animation-duration: .5s;
  -webkit-animation-iteration-count: infinite;
  -webkit-animation-direction: normal;
  -webkit-animation-timing-function: steps(2);
}

@-webkit-keyframes cry {
  0% {
    background-position: center 0;
  }

  100% {
    background-position: center rem-calc(-292px);
  }
}
